import request from "./http"

//获取用户详情
export function getmineinformation( params){
    return request({
        url:"/user/detail",
        method:"get",
        params
    })
}
//获取账号信息
export function getmineaccount( params){
    return request({
        url:"/user/account",
        method:"get",
        params
    })
}

//获取用户信息 , 歌单，收藏，mv, dj 数量
export function getminesonglist( params){
    return request({
        url:"/user/subcount",
        method:"get",
        params
    })
}
//获取用户等级信息/user/subcount
//获取用户歌单
export function getnamesonger( params){
    return request({
        url:"/user/playlist",
        method:"get",
        params
    })
}

/////user/record?uid=32953014&type=1
//获取用户播放记录
export function getyonhuhtis(params){
    return request({
        url:"/user/record",
        method:"get",
        params
    })
}
//喜欢音乐列表

export function getmniexihun(params){
    return request({
        url:"/likelist",
        method:"get",
        params
    })
}
///topic/sublist收藏专栏
export function getmniezhuanlan(params){
    return request({
        url:"/topic/sublist",
        method:"get",
        params
    })
}

//获取歌单详情/playlist/detail
export function getplaydetail(params){
    return request({
        url:"/playlist/detail",
        method:"get",
        params
    })
}
